<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  	
  	<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
  	<meta name="DC.title" lang="en" content="Career Minded People" />
  	<meta name="DC.description" lang="en" content="Commercial Recruitment Agency" />
  	<meta name="DC.language" scheme="RFC1766" content="en" />
  	<meta name="DC.coverage" content="World" />

  	<meta name="DC.format" scheme="IMT" content="text/html" />
  	<meta name="DC.contributor" content="Career Minded People" />
  	<meta name="DC.publisher" content="Career Minded People" />
  	<meta name="DC.subject" lang="en" content="Offer" />		
  	<meta name="robots" content="index,follow" />
  	<meta name="geo.region" content="UK" />
  	<meta name="geo.placename" content="Marlow" />
  	
    <link rel="stylesheet" type="text/css" href="/stylesheets/site.css"/>
    <script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAwTT7CtZct3ktr7na8BuQrBRrbvMAFxS8wV8zbZznf45-bX_bPxQYdRzL8n_8WUJm-z7lKwDLs0c_Bw&amp;hl=" type="text/javascript"></script>
    <script src="/javascripts/ym4r-gm.js" type="text/javascript"></script>
    <style type="text/css">
     v:* { behavior:url(#default#VML);}
    </style>
        <script type="text/javascript">
    var map;
    window.onload = addCodeToFunction(window.onload,function() {
    if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById("map_div"));
    map.setCenter(new GLatLng(51.5734001146728,-0.774879324859128),8);
    <% for job in @jobs -%>
    map.addOverlay(addInfoWindowToMarker(new GMarker(new GLatLng(<%= job.latitude %>,<%= job.longitude %>),{title : "<%= h(job.job_title) %>", draggable: true}),"<h4><%= h(job.job_title) %>, <%= h(job.location) %></h4><p><a href='/view/<%= job.id %>' title='Click here for more information.'>More information</a>",{}));
    <% end -%>
    }
    });
    </script>
    
    <!--[if lt IE 7.]>
      <script defer type="text/javascript" src="http://localhost:3000/javascripts/pngfix.js"></script>
    <![endif]-->
    <!--[if IE 6]>
      <link rel="stylesheet" type="text/css" href="/stylesheets/ie.css"/>
    <![endif]-->
    <link rel="alternate" type="application/rss+xml" title="RSS" href="/rss" />
  	<title>Career Minded People | Current Vacancies | Map</title>
	
  </head>

  <body onunload="GUnload()">
    <div id="container">
    <!-- Logo & telephone number -->
    <div id="heading" class="padded oa">
      <a href="/" title="CMP">
        <%= image_tag('logo.png', {:class => 'fl', :alt => 'Career Minded People'}) %>
      </a>
      
      <%= image_tag('telephone.png', {:class => 'fr', :alt => 'telephone 01628 484 000'})%>
    </div>
  
    <!-- Navigation bar -->
    <div id="nav">
      <ul>
        <li><a href="/" title="Home">Home</a></li>
        <li><a href="/jobs" title="Vacancies">Vacancies</a></li>
        <li><a href="/contact" title="Contact Us">Contact Us</a></li>
      </ul>
    </div>
  
    <!-- Photo banner -->
    <div id="banner" style="background:url('/images/<%= ['bnr1.jpg','bnr2.jpg', 'bnr3.jpg'][rand(3)] %>') top left no-repeat">
      
    </div>
  
    <!-- Green line -->
    <div id="greenline"></div>
  
    <!-- Main content -->
    <div id="maincontent" class="clearfix" style="border:none;background:none">
      
    
      <!-- Main content pane -->
      <div id="viewpane" style="width:100%">
        <%= yield :layout %>
      </div>
    </div>
  
    <!-- Footer -->
    <div id="footer">
      Copyright &copy; <%= Time.now.year %> CMP  |  <a href="/legal">Legal</a>  |  <a href="/contact">Contact Us</a>  |   <a href="/accessibility">Accessibility</a>
    </div>
    <div id="shadow">
      <img src="/images/bottom.png" alt="" />
    </div>
    </div>
  </body>
</html>